<style>
    .profile-avatar-container {
        position: relative;
        width: 100px;
        margin: 0 auto;
    }

    .profile-avatar-container .profile-user-img {
        width: 100px;
        height: 100px;
    }

    .profile-avatar-container .profile-avatar-text {
        display: none;
    }

    .profile-avatar-container:hover .profile-avatar-text {
        display: block;
        position: absolute;
        height: 100px;
        width: 100px;
        background: #444;
        opacity: .6;
        color: #fff;
        top: 0;
        left: 0;
        line-height: 100px;
        text-align: center;
    }

    .profile-avatar-container button {
        position: absolute;
        top: 0;
        left: 0;
        width: 100px;
        height: 100px;
        opacity: 0;
    }
</style>
<div class="row animated fadeInRight">
    <div class="col-md-12">
        <div class="box box-primary">
            <div class="panel-heading">
                {:__('发票配置')}
            </div>
            <div class="panel-body">
                <form id="update-form" role="form" data-toggle="validator" method="POST"
                    action="{:url('invoice/edit_config')}">
                    <input type="hidden" class="form-control" id="id" name="row[id]"
                        value="{$configss.id|htmlentities}" />
                    {:token()}
                    <div class="box-body box-profile">
                        <div class="form-group">
                            <label class="control-label">{:__('Type')}:</label>
                            <select id="c-type" class="form-control selectpicker" name="row[type]">
                                {foreach name="typeList" item="vo"}
                                <option value="{$key}" {in name="key" value="$configss.type" }selected{/in}>{$vo}
                                </option>
                                {/foreach}
                            </select>
                        </div>
                        <div class="form-group">
                            <label for="title" class="control-label">{:__('公司名称')}:</label>
                            <input type="text" class="form-control" id="title" name="row[title]"
                                value="{$configss.title|htmlentities}" />
                        </div>
                        <div class="form-group">
                            <label class="control-label">{:__('Class')}:</label>
                            <select id="c-class" class="form-control selectpicker" name="row[class]">
                                {foreach name="classList" item="vo"}
                                <option value="{$key}" {in name="key" value="$configss.class" }selected{/in}>{$vo}</option>
                                {/foreach}
                            </select>
                        </div>
                        <div class="form-group">
                            <label class="control-label">{:__('Rise')}:</label>
                            <select id="c-rise" class="form-control selectpicker" name="row[rise]">
                                {foreach name="riseList" item="vo"}
                                <option value="{$key}" {in name="key" value="$configss.rise" }selected{/in}>{$vo}
                                </option>
                                {/foreach}
                            </select>

                        </div>
                        <div class="form-group">
                            <label class="control-label">{:__('Identification')}:</label>
                            <input id="c-identification" class="form-control" name="row[identification]" type="text"
                                value="{$configss.identification|htmlentities}">
                        </div>
                        <div class="form-group">
                            <label class="control-label">{:__('Address')}:</label>
                            <input id="c-address" class="form-control" name="row[address]" type="text"
                                value="{$configss.address|htmlentities}">
                        </div>
                        <div class="form-group">
                            <label class="control-label">{:__('Phone')}:</label>
                            <input id="c-phone" class="form-control" name="row[phone]" type="text"
                                value="{$configss.phone|htmlentities}">
                        </div>
                        <div class="form-group">
                            <label class="control-label">{:__('Account')}:</label>

                            <input id="c-account" class="form-control" name="row[account]" type="text"
                                value="{$configss.account|htmlentities}">
                        </div>
                        <div class="form-group">
                            <label class="control-label">{:__('Bank')}:</label>
                            <input id="c-bank" class="form-control" name="row[bank]" type="text"
                                value="{$configss.bank|htmlentities}">
                        </div>

                        <div class="form-group">
                            <button type="submit" class="btn btn-primary">{:__('Submit')}</button>
                            <button type="reset" class="btn btn-default">{:__('Reset')}</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>

    </div>
</div>